<?php
namespace Common\Service;

/**
 * 推荐位
 * 存储位置：mongo > imba_pos
 * @author liubo <liubo@ilongyuan.com.cn>
 */
Class PosService extends BaseService
{
    /*
        id
        name
        code
        type  (video,user,race,goods,news)
        create_time
        update_time
        status
    */
    protected $_auto = array(
        array('status', 'intval', self::MODEL_BOTH, 'function'),
        array('create_time', NOW_TIME, self::MODEL_INSERT),
        array('update_time', NOW_TIME, self::MODEL_BOTH)
    );
}